﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master" CodeBehind="Role_List.aspx.cs" Inherits="WebUI.Admin.Role.Role_List" %>

<asp:Content ID ="Content1" ContentPlaceHolderID ="ContentPlaceHolder1" runat="server">
<br />
  <div style="width:750px">
    <asp:GridView ID="grvRoleList" runat="server" AutoGenerateColumns="False" OnRowDeleting="grvRoleList_RowDeleting" AllowPaging="True" OnPageIndexChanging="grvRoleList_PageIndexChanging" PageSize="8" BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4" GridLines="Horizontal" Width="750px">
        <Columns>
            <asp:BoundField DataField="roleSn" HeaderText="角色编号" />
            <asp:BoundField DataField="roleName" HeaderText="角色名" />
            <asp:HyperLinkField DataNavigateUrlFields="roleSn" HeaderText="分配功能"  NavigateUrl="~/Admin/Role/Role_Func.aspx" DataNavigateUrlFormatString="Role_Func.aspx?roleSn={0}" Text="分配功能" />
            <asp:CommandField ShowDeleteButton="True" HeaderText="删除" />
        </Columns>
        <FooterStyle BackColor="White" ForeColor="#333333" />
        <RowStyle BackColor="White" ForeColor="#333333" />
        <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
    </asp:GridView>
    <div style="text-align:right; margin-top:10px;">
    
    <asp:HyperLink ID="hylRoleAdd" runat="server" NavigateUrl="~/Admin/Role/Role_Modify.aspx">增加角色</asp:HyperLink>
    </div></div>
</asp:Content>
